package fr.cnam.projetSiw.client.core;

import com.google.gwt.activity.shared.AbstractActivity;
import com.google.gwt.place.shared.Place;

public abstract class ZicActivity extends AbstractActivity implements ZicView.ZicPresenter
{
	
	protected ClientFactory clientFactory;

	public ZicActivity(ClientFactory clientFactory)
	{
		this.clientFactory = clientFactory;
	}


	
	@Override
	public void goTo(Place place)
	{
		clientFactory.getPlaceController().goTo(place);
	}
}
